package com.hbsoft.sub;

import java.awt.BorderLayout;
import java.awt.Color;

import javax.swing.*;

public class ContentPanel extends JPanel {
	
	private BillSelectPanel bsp;

	private FillInBillPanel fibp;

	private DeleteRegisterSelectPanel drsp;

	private AccountManagePanel amp;

	private GiveBackManagePanel gbmp;
	
	public ContentPanel() {
		
		this.setLayout(new BorderLayout());
		this.setBackground(Color.yellow);
		
		
		bsp = new BillSelectPanel();
		
		fibp = new FillInBillPanel();
		
		drsp = new DeleteRegisterSelectPanel();
		
		amp = new AccountManagePanel();
		
		gbmp = new GiveBackManagePanel();
		
		bsp.setVisible(true);
		fibp.setVisible(false);
		drsp.setVisible(false);
		amp.setVisible(false);
		gbmp.setVisible(false);

		add(bsp,BorderLayout.CENTER);
	}

	public BillSelectPanel getBsp() {
		return bsp;
	}

	public FillInBillPanel getFibp() {
		return fibp;
	}

	public DeleteRegisterSelectPanel getDrsp() {
		return drsp;
	}

	public AccountManagePanel getAmp() {
		return amp;
	}

	public GiveBackManagePanel getGbmp() {
		return gbmp;
	}

	
}
